<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ include file="/init.jsp"%>
<portlet:defineObjects />

<portlet:renderURL var="paymentmodeetranzactURL">
	<portlet:param name="jspPage" value="/html/payments/payment-mode-interswitch.jsp" />
</portlet:renderURL>

<portlet:renderURL var="paymentmodeinterswitchURL">
	<portlet:param name="jspPage" value="/html/payments/payment-mode-interswitch.jsp" />
</portlet:renderURL>

<portlet:renderURL var="paymentmodebankURL">
	<portlet:param name="jspPage" value="/html/payments/payment-mode-bank.jsp" />
</portlet:renderURL>

<liferay-ui:error key="pick-payment-mode" message="pick-payment-mode" />

<div id="main">
	<h1>Payment -  Online Application(s)</h1>
	<div class="content"> 
  	<span class="title">Payment Mode</span>
		<hr>
		<p>Please, choose your payment mode</p>
		
		<liferay-portlet:actionURL name="pickPaymentMode" var="pickPaymentMode"></liferay-portlet:actionURL>

		<aui:form name="frmPaymentMode" method="post"	 action="<%= pickPaymentMode.toString() %>"> 
			<table id="paymod">	
        		<tr>
				 	<td>
				  	<aui:input name="rd" type="radio" value="Interswich" label=""></aui:input>
				  </td>
				  <td>
				  	<strong>Pay now</strong><br>interSwitch ATM Cards
				  </td>
				  <td>
				  	<img src="${renderRequest.contextPath}/images/interswitchvervemastercard.png">
				 	</td>
				</tr>
			 	<tr>
			 		<td>
			    	<aui:input name="rd" type="radio" value="Banks" label=""></aui:input>
			    </td>
			    <td>
			    	<strong>Bank Deposit</strong><br>You may also wish to pay at any of our partner bank's nearest to your location
			    </td>
			    <td>
			     	<img src="${renderRequest.contextPath}/images/banks.jpg" alt="bank logos" height="70">
			    </td>
           </tr>
     	</table>
			<br>
      <input type="submit" value="Proceed" >
      <input name="" type="button" value="Back " onClick="history.go(-1); return true;" >
      <input type="reset" value="Cancel" onClick="paymentCancel();" >
   	</aui:form>
 	</div>
</div>

<liferay-portlet:actionURL name="cancel" var="cancel"></liferay-portlet:actionURL>
<form name="<portlet:namespace/>paymentCancel_fm" method="post"	id="<portlet:namespace/>paymentCancel_fm" action="<%=cancel.toString()%>">
</form>
<script type="text/javascript">
<!--
	
	function paymentCancel()
	{
		document.forms["<portlet:namespace/>paymentCancel_fm"].submit();
	}


//-->
</script>
